/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package music.emotion.engine.facts;

/**
 *
 * @author Morian Age Facts is group 1
 */
public class AgeFacts extends Facts {

    public int fromAge;
    public int toAge;

    public AgeFacts(String name, int fromAge, int toAge, String content) {
        //Age Facts is Group 1
        super(1, name, content);
        this.fromAge = fromAge;
        this.toAge = toAge;
    }

    @Override
    public String toString() {
        String str = this.name;
        str += ":" + this.fromAge + "-" + toAge;
        str += ":" + this.content;
        return str;
    }
}
